package com.nhim.cms.admin.shared;

import java.util.List;

import com.google.gwt.requestfactory.shared.Request;
import com.google.gwt.requestfactory.shared.RequestContext;
import com.google.gwt.requestfactory.shared.Service;
import com.nhim.cms.admin.server.SpringServiceLocator;
@Service(locator = SpringServiceLocator.class, value =
	com.nhim.cms.admin.server.CustomWidgetInstanceService.class)
public interface CustomWidgetInstanceRequest extends RequestContext {
	Request<List<CustomWidgetInstanceProxy>> getByCustomWidgetId(Integer widgetId);
	
	  Request<CustomWidgetInstanceProxy>  persit(CustomWidgetInstanceProxy proxy);
	  
	  Request<CustomWidgetInstanceProxy> findById(Integer id);
	  
	  Request<Boolean> remove(Integer id);
}
